// mircoApp/competitionApply/comm/competitionItem/competitionItem.js
// const skinBehavior = require("../../../../utils/themeSkin/skinBehavior");
Component({
  // behaviors: [skinBehavior],
  /**
   * 组件的属性列表
   */
  options: {
    addGlobalClass: true,
  },
  properties: {
    item:{
      type:Object,
      value:{}
    }
  },

  /**
   * 组件的初始数据
   */
  data: {

  },

  /**
   * 组件的方法列表
   */
  methods: {
    goodsTo(event) {
      let {id} = event.currentTarget.dataset;
      wx.navigateTo({
        url:`/mircoApp/competitionApply/applyDetails/applyDetails?id=${id}`
      })
    }
  }
})